Repository navigation
chore: release v4.8.7 - #5143
Merged
Merged
Conversation
Contributor
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
November 19, 2026 14:33
0d796ea to
a1f42e0
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
November 19, 2026 14:50
a1f42e0 to
1743d85
Compare
Contributor
Author
🧭 Helm Chart Prerelease PublishedVersion: Install: helm upgrade --install trigger \
oci://ghcr.io/triggerdotdev/charts/trigger \
--version "4.8.7-pr5143.1743d85"
|
Mariefay
approved these changes
Nov 19, 2026
Mariefay
approved these changes
Nov 19, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
1 improvement, 10 bug fixes.
Improvements
chat.agentnow accept the object form ofconcurrencyKeyintriggerConfig, giving each concurrency limit its own key, the same astask.trigger(). (767ab4521)Bug fixes
Fix runs failing with
TASK_DID_CONCURRENT_WAITon their first wait whenprocessKeepAliveis enabled. (fe57ea018)Fix
chat.agentchannels on AI SDK 7 failing the whole turn when a channel file can't be downloaded. A file the connector owns but can't read is now replaced with an[Attached file "…" could not be loaded]note and the agent still answers, as it does on AI SDK 6. AI SDK 7 describes a file's URL in a tagged form that the SDK didn't recognise, so the failed file was never found. (c888eb885)An inline
data:file in a channel message is no longer passed to a connector'sdownload, and on AI SDK 6 it reaches the model instead of failing the turn.Fix two compaction problems on AI SDK 7. After a compaction, a
chat.agentturn that continued a tool approval sent the model the full pre-compaction transcript instead of the summary, which undid the compaction (this also affectedchat.MessageAccumulator). And between-turn compaction, inchat.agentandchat.createSession, was asked about the whole turn's token usage instead of the last step's, soshouldCompactthresholds triggered too early on multi-step turns. (c615d762e)If you call
compactIfNeededon achat.MessageAccumulator, pass it the last step's usage,(await result.steps).at(-1)?.usage.result.usageis the turn's sum on AI SDK 7.Fix
chat.agentsteering on AI SDK 7. A steering message thatpendingMessages.prepareturns into asystemmessage no longer makes the step fail with an invalid-prompt error:chat.toStreamTextOptions()now setsallowSystemInMessages: true, as AI SDK 5 and 6 already behave (passallowSystemInMessages: falseafter the spread to keep AI SDK 7's strict default). A turn whose stream ends on an error now reportsfinishReason: "error"inonTurnComplete, where it could beundefinedor the previous step's reason. (53f17ee0b)Fix a
chat.agenttool result containing aBigIntfailing the next turn's model call in apps that defineBigInt.prototype.toJSON. It is now sent as the JSON thattoJSONgives, in the next step and in later turns. (8167e49f3)Fix
chat.agentfailing the next step or turn withAI_InvalidPromptError("The messages do not match the ModelMessage[] schema") when a tool returned a value that isn't plain JSON, such as aDatefrom an ORM row. On AI SDK 6, and AI SDK 7 before 7.0.101, tool results are now converted to JSON the way newer AI SDK versions do it, so aDatereaches the model as its ISO string. A value JSON can't hold, such as aBigIntor a circular reference, is replaced by an error result that names the tool and the field, and the same error is logged on the run. (49b3dc055)Server changes
These changes affect the self-hosted Docker image and Trigger.dev Cloud:
Raw changeset output
Releases
@trigger.dev/build@4.8.7
Patch Changes
@trigger.dev/core@4.8.7trigger.dev@4.8.7
Patch Changes
@trigger.dev/core@4.8.7@trigger.dev/build@4.8.7@trigger.dev/schema-to-json@4.8.7@trigger.dev/core@4.8.7
Patch Changes
TASK_DID_CONCURRENT_WAITon their first wait whenprocessKeepAliveis enabled. (fe57ea018)chat.agentnow accept the object form ofconcurrencyKeyintriggerConfig, giving each concurrency limit its own key, the same astask.trigger(). (767ab4521)@trigger.dev/linear@4.8.7
Patch Changes
@trigger.dev/sdk@4.8.7@trigger.dev/core@4.8.7@trigger.dev/python@4.8.7
Patch Changes
@trigger.dev/sdk@4.8.7@trigger.dev/core@4.8.7@trigger.dev/build@4.8.7@trigger.dev/react-hooks@4.8.7
Patch Changes
@trigger.dev/core@4.8.7@trigger.dev/redis-worker@4.8.7
Patch Changes
@trigger.dev/core@4.8.7@trigger.dev/rsc@4.8.7
Patch Changes
@trigger.dev/core@4.8.7@trigger.dev/schema-to-json@4.8.7
Patch Changes
@trigger.dev/core@4.8.7@trigger.dev/slack@4.8.7
Patch Changes
@trigger.dev/sdk@4.8.7@trigger.dev/core@4.8.7@trigger.dev/sdk@4.8.7
Patch Changes
Fix
chat.agentchannels on AI SDK 7 failing the whole turn when a channel file can't be downloaded. A file the connector owns but can't read is now replaced with an[Attached file "…" could not be loaded]note and the agent still answers, as it does on AI SDK 6. AI SDK 7 describes a file's URL in a tagged form that the SDK didn't recognise, so the failed file was never found. (c888eb885)An inline
data:file in a channel message is no longer passed to a connector'sdownload, and on AI SDK 6 it reaches the model instead of failing the turn.Fix two compaction problems on AI SDK 7. After a compaction, a
chat.agentturn that continued a tool approval sent the model the full pre-compaction transcript instead of the summary, which undid the compaction (this also affectedchat.MessageAccumulator). And between-turn compaction, inchat.agentandchat.createSession, was asked about the whole turn's token usage instead of the last step's, soshouldCompactthresholds triggered too early on multi-step turns. (c615d762e)If you call
compactIfNeededon achat.MessageAccumulator, pass it the last step's usage,(await result.steps).at(-1)?.usage.result.usageis the turn's sum on AI SDK 7.Fix
chat.agentsteering on AI SDK 7. A steering message thatpendingMessages.prepareturns into asystemmessage no longer makes the step fail with an invalid-prompt error:chat.toStreamTextOptions()now setsallowSystemInMessages: true, as AI SDK 5 and 6 already behave (passallowSystemInMessages: falseafter the spread to keep AI SDK 7's strict default). A turn whose stream ends on an error now reportsfinishReason: "error"inonTurnComplete, where it could beundefinedor the previous step's reason. (53f17ee0b)Fix a
chat.agenttool result containing aBigIntfailing the next turn's model call in apps that defineBigInt.prototype.toJSON. It is now sent as the JSON thattoJSONgives, in the next step and in later turns. (8167e49f3)Fix
chat.agentfailing the next step or turn withAI_InvalidPromptError("The messages do not match the ModelMessage[] schema") when a tool returned a value that isn't plain JSON, such as aDatefrom an ORM row. On AI SDK 6, and AI SDK 7 before 7.0.101, tool results are now converted to JSON the way newer AI SDK versions do it, so aDatereaches the model as its ISO string. A value JSON can't hold, such as aBigIntor a circular reference, is replaced by an error result that names the tool and the field, and the same error is logged on the run. (49b3dc055)Sessions and
chat.agentnow accept the object form ofconcurrencyKeyintriggerConfig, giving each concurrency limit its own key, the same astask.trigger(). (767ab4521)Updated dependencies:
@trigger.dev/core@4.8.7@trigger.dev/convex@4.8.7